package com.chinadci.smartcommunitysystembackstage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * 社区论坛
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@TableName("scs_forum")
@ApiModel(value="ScsForum对象", description="")
public class ScsForum implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "发布动态id")
    @TableId(value = "f_id", type = IdType.AUTO)
    private Integer fId;

    @ApiModelProperty(value = "发布动态内容")
    private String fInfo;

    @ApiModelProperty(value = "发布时间")
    private String fCreateTime;

    @ApiModelProperty(value = "发布人")
    private Integer uId;

    @ApiModelProperty(value = "发布图片")
    private String fImg;

    @TableField(exist = false)
    private List<ScsUser> user;

    @TableField(exist = false)
    private String name;

}
